package org.budo.phone.ronglian;

import org.budo.phone.api.response.AgentOffWorkResponse;
import org.budo.phone.api.response.AgentOnWorkResponse;
import org.budo.phone.api.response.AgentServiceEndResponse;
import org.budo.phone.api.response.CreateQueueResponse;
import org.budo.phone.api.response.CreateSubAccountResponse;

import lombok.Getter;
import lombok.Setter;

/**
 * @author limingwei
 */
@Getter
@Setter
public class BudoRonglianPhoneApi extends AbstractRonglianPhoneApi {
    /**
     * https://doc.yuntongxun.com/p/5a533b4e3b8496dd00dce036
     */
    @Override
    public CreateSubAccountResponse createSubAccount(String appId, String name) {
        return super.createSubAccount(appId, name);
    }

    /**
     * https://doc.yuntongxun.com/p/5a534cde3b8496dd00dce22d
     */
    @Override
    public CreateQueueResponse createQueue(String appId, String queueType, String typeDes) {
        return super.createQueue(appId, queueType, typeDes);
    }

    /**
     * https://doc.yuntongxun.com/p/5a534cde3b8496dd00dce22d
     */
    @Override
    public AgentOnWorkResponse agentOnWork(String appId, String number, String agentId) {
        return super.agentOnWork(appId, number, agentId);
    }

    /**
     * https://doc.yuntongxun.com/p/5a534cde3b8496dd00dce22d
     */
    @Override
    public AgentOffWorkResponse agentOffWork(String appId, String number, String agentId, String agentType) {
        return super.agentOffWork(appId, number, agentId, agentType);
    }

    /**
     * TODO 两个挂机什么区别
     * https://doc.yuntongxun.com/p/5a534cde3b8496dd00dce22d#h4-6-7%20%E5%BA%A7%E5%B8%AD%E7%BB%93%E6%9D%9F%E9%80%9A%E8%AF%9D
     * http://developer.7moor.com/v2docs/hangup/
     */
    @Override
    public AgentServiceEndResponse agentServiceEnd(String appId, String callId, String agentId) {
        return super.agentServiceEnd(appId, callId, agentId);
    }
}
